# Description: WebKitGTK+, WebKit rendering motorunun tam özellikli bir portudur
# URL: http://webkitgtk.org/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: libwebp libsecret geoclue gperf gtk2 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby

name=webkitgtk2
version=2.4.11
release=1
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)

build() {
	cd webkitgtk-$version

	install -d build
	cd build
	
    CXX="g++ -std=c++98"
	../configure \
		--prefix=/usr \
		--disable-geolocation \
		--disable-gtk-doc-html \
		--disable-silent-rules \
		--enable-video \
		--enable-jit \
		--libexecdir=/usr/lib/webkitgtk2 \
		--with-gtk=2.0 \
		--disable-webkit2


make || make -j1
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
}
